package com.gt.web.srv.web.api.command;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 家庭积分信息;
 *
 * @author Yu Chaohua
 * @date 2024-5-22
 */
@ApiModel(value = "家庭积分信息", description = "")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FamilyScoreLogReqCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "页码")
    private long currentPage = 1;

    @ApiModelProperty(notes = "每页条数")
    private long pageSize = 10;

    @ApiModelProperty(notes = "积分明细ID")
    private Long id;

    @ApiModelProperty(notes = "交易流水号")
    private String orderSerialNo;

    @ApiModelProperty(notes = "订单号码 或 文章号等等")
    private String orderNo;

    @ApiModelProperty(notes = "村民ID")
    private Long peopleId;

    @ApiModelProperty(notes = "家庭ID")
    private Long familyId;

    @ApiModelProperty(notes = "交易类型 1文章阅读奖励、2文章评论奖励、3文章收藏奖励、4其他奖励、5商品兑换、6商品退还、7系统调加、8系统调减、9兑换券")
    private Integer orderType;

    @ApiModelProperty(notes = "1收入 2支出")
    private Integer orderScoreType;

    @ApiModelProperty(notes = "状态（0正常 1停用）")
    private Integer status;

    @ApiModelProperty(notes = "备注")
    private String remark;


}